package cn.beatuty.makeup.module.system.controller.admin.hotproducts.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 热门商品新增/修改 Request VO")
@Data
public class HotProductsSaveReqVO {

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23551")
    private Long id;

    @Schema(description = "商品图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "商品图片不能为空")
    private String image;

    @Schema(description = "商品介绍", example = "随便")
    private String description;

    @Schema(description = "商品成分")
    private String ingredients;

    @Schema(description = "使用方法")
    private String usageMethod;

    @Schema(description = "商品规格")
    private String specification;

    @Schema(description = "商品价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "21257")
    @NotNull(message = "商品价格不能为空")
    private BigDecimal price;
    private String productsClassifyName;


    private String title;


    private String number;

    private String productsStatus;

    private String sort;
}